package com.c6906.vdam.monitor.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.sql.Timestamp;

/**
 * 服务器基础数据,每上报一次对应一包数据
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ServerData {
    private Long id;
    private Long serverId;

    private Long msgSerial;

    private String hostName;
    private Timestamp eventTime;
    private Long memTotal;
    private Long memAvailable;
    private Long memUsed;
    private Long memFree;
    private Double memUsedPercent;
    private Double totalCPUUsage;           //整体的CPU利用率
    private Timestamp createdAt;
    private Timestamp updatedAt;
}
